package com.zlt.bkparking.service;

import com.github.pagehelper.PageInfo;
import com.zlt.bkparking.dto.AppUserDTO;
import com.zlt.bkparking.vo.AppUserVO;
import com.zlt.bkparking.vo.Menu;

import java.util.List;

public interface UserService {
    PageInfo<AppUserVO> selectUsers(AppUserDTO appUserDTOD);

    boolean insertUser(AppUserDTO appUserDTO);

    boolean updateUser(AppUserDTO appUserDTO);

    boolean rechargeVIP(AppUserDTO appUserDTO,Integer vId);

    boolean deleteUser(String auId);

    PageInfo<AppUserVO> selectVipUser(AppUserDTO appUserDTO);

    PageInfo<AppUserVO> selectParkVipUser(AppUserDTO appUserDTO);

    List<AppUserVO> getNotVipUser(Integer state);

    boolean insertVip(AppUserDTO appUserDTO,Integer state);

    boolean deleteVip(String auId);

    boolean deleteParkVip(String auId);


    boolean updateParkVip(AppUserDTO appUserDTO);

    boolean batchDeleteParkVip(List<String> auIds,Integer state);

    List<Menu> selectMenu();
}
